package graphics.rasterizing.projection;

import static util.MatrixOperationsF.ar;
import static util.MatrixOperationsF.homogenize;
import static util.MatrixOperationsF.multiply;
import static util.MatrixOperationsF.print;

import org.junit.Test;

public class _PerspectiveProjectionTest {

	@Test
	public void test() {
		Projection projection = new PerspectiveProjection(ar(0, 0, -5, 1), ar(
				10, 10, -10, 1));
		float[][] f = projection.getMatrix();
		System.out.println(print(homogenize(multiply(f, ar(10, 10, -10, 1)))));
	}

	@Test
	public void test2() {
		//Projection p = new SimpleProjection();
		//float[][] value = p.getMatrix();
		System.out.println("bleehf");
	}
}
